package phoenixAAD.WifiFlashDrive;

import phoenixAAD.WifiFlashDrive.SimplifiedExpandableListAdapter.SectionSet;
import phoenixAAD.WifiFlashDrive.SimplifiedExpandableListAdapter.SimplifiedExpandListAdapter;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ExpandableListView;

public class HelpTroubleActivity extends Activity {
	private ExpandableListView list;
	
	private static final SectionSet[] sections = {
		new SectionSet(R.string.help_tro_connect_title, R.string.help_tro_connect),
		new SectionSet(R.string.help_tro_filename_title, R.string.help_tro_filename)
	};
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.help_section);
		setTitle(getResources().getString(R.string.help_tro_title));
		
		list = (ExpandableListView) findViewById(R.id.help_section);
		
		list.setAdapter(SimplifiedExpandListAdapter.getAdapter(this, sections));
	}
}
